package com.imdroid.notification;

import com.imdroid.modal.Team;

public class NTeamExit extends Notification {
	private Team team;
	private int userId;
	/**
	 * @param team
	 *            the
	 * @param userId
	 */
	public NTeamExit(Team team, int userId) {
		this.team = team;
		this.userId = userId;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.imdroid.notification.Notification#getHeader()
	 */
	protected int getHeader() {
		return Notification.NOTIFICATION_TeamExit;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.imdroid.notification.Notification#getBody()
	 */
	protected String getBody() {
		return team.getTeamId() + ";" + userId;
	}
}